package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.TestPaper;
import com.tanhua.model.vo.PageResult;

import java.util.List;
import java.util.Map;

public interface TestPaperApi {
    Map<String, TestPaper> findByIds(List<String> paperId);

    List<TestPaper> findAll();

    PageResult findByPage(Integer page, Integer pageSize);

    void delete(String id);

    TestPaper findById(String id);

    void save(TestPaper papers);

    void update(TestPaper paper,String paperId);
}
